package com.yiduo.outpost.core.security;

import com.yiduo.outpost.core.model.exception.RestException;
import com.yiduo.outpost.core.model.result.ResultCodeEnum;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;


/**
 * @author yw
 */
@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class UnAuthorizedException extends RestException {

    public UnAuthorizedException() {
        super(ResultCodeEnum.FAILURE);
    }

}
